import 'package:event_bus/event_bus.dart';

/**
 *
 * @Description TODO
 * @Author liuer
 * @CreateTime 2024年04月23日 10:47
 */
class EventBusUtil {
  static final EventBus  _eventBus = EventBus();

  static EventBus getInstance() {
    return _eventBus;
  }

  void dispose() {
    _eventBus?.destroy();
  }
}

///切换语言的通知
class SwitchLanguage {
  SwitchLanguage();
}

///闪屏页关闭在弹出升级弹窗,不然get.offall会把弹窗关闭
class SplashScreenClose {
  SplashScreenClose();
}

///保存储能单元管理
class SaveEssUnit {
  SaveEssUnit();
}

///站点内切换了货币单位
class ChangeMonetaryUnit {
  ChangeMonetaryUnit();
}
